home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.games,alt.sys.amiga.demos,comp.sys.amiga.misc
- Path: comp.vuw.ac.nz!HERMES!maths!peterm
- From: peterm@maths.grace.cri.nz (Peter McGavin)
- Subject: Re: AB3D II beats Quake....
- Message-ID: <PETERM.96Apr1124517@tui.maths.irl.cri.nz>
- Date: 01 Apr 1996 00:45:17 GMT
- Distribution: world
- References: <31554EFB.5D97@plea.se> <3025.6658T1041T105@mbox.vol.it>
- Organization: Industrial Research Ltd
- In-reply-to: bizzetti@mbox.vol.it's message of 25 Mar 1996 16:26:01 GMT
-
- bizzetti@mbox.vol.it (Fabio Bizzetti) writes:
- >>Ok, WritePixel isn't fast, then patch it!
- >
- >Just only the JSR/RTS is times slower than my "WritePixel" routine.
-
- Your "WritePixel" probably doesn't handle variable width/height/depth
- bitmaps nor handle overlapping windows nor interact with pull-down
- menus nor clip to bitmap boundaries nor support a write-mask nor
- handle both interleaved and non-interleaved bitmaps nor synchronise
- with blitter functions nor handle non-standard bitmaps nor work with
- gfx-cards nor...
-
- >And, "just remove JSR/RTS" means "dont use the OS".
-
- No.
-
- 1. The OS provides dozens of drawing functions, most of which are much
- faster than WritePixel() when more than one pixel is rendered.
-
- 2. If none of the above are sufficient, the OS support direct bitmap
- access for native bitmaps (at the expense of compatibility/portability
- unless the program provides alternative routines for gfx-cards). Then
- you can use your "WritePixel" routine.
-
- 3. Even if the program uses custom gfx in a completely unthought-of
- way, e.g, really weird bitmap format manipulated by copper in an
- unheard-of way, the OS supports take-over of all custom gfx. The OS
- can still be used for continuous hard-disk/CDROM access, network play,
- 100% compatible keyboard access, OS-calls, etc.
- --
- Peter McGavin. (p.mcgavin@irl.cri.nz)
-
-